logs = '''
111.30.144.7 "POST /mock/login/?t=GET HTTP/1.1" 200 
111.30.144.7 "Get /mock/users/?t=POST HTTP/1.1" 200 
111.13.100.92 "Post /mock/login/ HTTP/1.1" 200 
223.88.60.88 "GET /mock/users/?t=POST HTTP/1.1" 200 
111.30.144.7 "GET /mock/users/ HTTP/1.1" 200 
'''
li1 = logs.upper().split(' ')
li2 = []
for i in li1:
    if i == '"POST' or i == '"GET':
        li2.append(i)
#print(li2)
print('POST {}'.format(li2.count('"POST')))
print('GET {}'.format(li2.count('"GET')))
